{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}E:\SanDiskSecureAccessV2.0\2017-08-27-ViniciusPenDrive\MainFiles\2017\02-AIIB\Data\AIIB-Resubmission-Log.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}30 Nov 2017, 19:26:24

{com}. */ opening the dataset /*

. use "E:\SanDiskSecureAccessV2.0\2017-08-27-ViniciusPenDrive\MainFiles\2017\02-AIIB\Data\AIIB-ForResubmission.dta", clear

. */  we start by running models reported on table 1. Let's begin by model 1 /*

. 
. 
. 
. logit aiibmou usalignment chinaalignment polity2 adbmember usmilitaryalliance gdppercapita distancetobeijing

{res}{txt}Iteration 0:{space 3}log likelihood = {res:-56.153932}  
Iteration 1:{space 3}log likelihood = {res:  -34.6485}  
Iteration 2:{space 3}log likelihood = {res:-23.309973}  
Iteration 3:{space 3}log likelihood = {res:-19.398679}  
Iteration 4:{space 3}log likelihood = {res:-18.832337}  
Iteration 5:{space 3}log likelihood = {res:-18.801047}  
Iteration 6:{space 3}log likelihood = {res:-18.800951}  
Iteration 7:{space 3}log likelihood = {res:-18.800951}  
{res}
{txt}Logistic regression{col 51}Number of obs{col 67}= {res}       159
{txt}{col 51}LR chi2({res}7{txt}){col 67}= {res}     74.71
{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-18.800951{txt}{col 51}Pseudo R2{col 67}= {res}    0.6652

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           aiibmou{col 20}{c |}      Coef.{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}usalignment {c |}{col 20}{res}{space 2}-1.248217{col 32}{space 2}  21.8855{col 43}{space 1}   -0.06{col 52}{space 3}0.955{col 60}{space 4}-44.14302{col 73}{space 3} 41.64658
{txt}{space 4}chinaalignment {c |}{col 20}{res}{space 2} 18.41025{col 32}{space 2} 11.22079{col 43}{space 1}    1.64{col 52}{space 3}0.101{col 60}{space 4}-3.582092{col 73}{space 3} 40.40259
{txt}{space 11}polity2 {c |}{col 20}{res}{space 2}-.1051337{col 32}{space 2} .0869762{col 43}{space 1}   -1.21{col 52}{space 3}0.227{col 60}{space 4} -.275604{col 73}{space 3} .0653365
{txt}{space 9}adbmember {c |}{col 20}{res}{space 2} 4.110986{col 32}{space 2} 1.861725{col 43}{space 1}    2.21{col 52}{space 3}0.027{col 60}{space 4} .4620717{col 73}{space 3} 7.759901
{txt}usmilitaryalliance {c |}{col 20}{res}{space 2}-.1278435{col 32}{space 2}  1.55339{col 43}{space 1}   -0.08{col 52}{space 3}0.934{col 60}{space 4}-3.172431{col 73}{space 3} 2.916744
{txt}{space 6}gdppercapita {c |}{col 20}{res}{space 2} .0000729{col 32}{space 2} .0000362{col 43}{space 1}    2.01{col 52}{space 3}0.044{col 60}{space 4} 1.87e-06{col 73}{space 3} .0001439
{txt}{space 1}distancetobeijing {c |}{col 20}{res}{space 2}-.0006826{col 32}{space 2} .0003168{col 43}{space 1}   -2.15{col 52}{space 3}0.031{col 60}{space 4}-.0013035{col 73}{space 3}-.0000616
{txt}{space 13}_cons {c |}{col 20}{res}{space 2}-16.20848{col 32}{space 2} 11.78484{col 43}{space 1}   -1.38{col 52}{space 3}0.169{col 60}{space 4}-39.30634{col 73}{space 3} 6.889383
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. */ we now generate the output of model 1 to table 1 /*

. 
. 
. 
. outreg2 using table1.doc
{txt}{stata `"shellout using `"table1.doc"'"':table1.doc}
{browse `"E:\SanDiskSecureAccessV2.0\Stata"' :dir}{com} : {txt}{stata `"seeout using "table1.txt""':seeout}

{com}. 
. 
. 
. */ we now run model 2, ignoring political alignment and using only the variables on exports /*

. 
. 
. 
. logit aiibmou exportstous exportstochina polity2 adbmember usmilitaryalliance gdppercapita distancetobeijing

{res}{txt}Iteration 0:{space 3}log likelihood = {res:-50.559599}  
Iteration 1:{space 3}log likelihood = {res:-29.745791}  
Iteration 2:{space 3}log likelihood = {res:-19.855205}  
Iteration 3:{space 3}log likelihood = {res:-16.526955}  
Iteration 4:{space 3}log likelihood = {res:-16.045971}  
Iteration 5:{space 3}log likelihood = {res:-16.029702}  
Iteration 6:{space 3}log likelihood = {res:-16.029647}  
Iteration 7:{space 3}log likelihood = {res:-16.029647}  
{res}
{txt}Logistic regression{col 51}Number of obs{col 67}= {res}       131
{txt}{col 51}LR chi2({res}7{txt}){col 67}= {res}     69.06
{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-16.029647{txt}{col 51}Pseudo R2{col 67}= {res}    0.6830

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           aiibmou{col 20}{c |}      Coef.{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}exportstous {c |}{col 20}{res}{space 2} 13.78622{col 32}{space 2} 7.324507{col 43}{space 1}    1.88{col 52}{space 3}0.060{col 60}{space 4}-.5695527{col 73}{space 3} 28.14199
{txt}{space 4}exportstochina {c |}{col 20}{res}{space 2} 1.032047{col 32}{space 2} 5.016191{col 43}{space 1}    0.21{col 52}{space 3}0.837{col 60}{space 4}-8.799508{col 73}{space 3}  10.8636
{txt}{space 11}polity2 {c |}{col 20}{res}{space 2}-.2207306{col 32}{space 2} .1030067{col 43}{space 1}   -2.14{col 52}{space 3}0.032{col 60}{space 4}  -.42262{col 73}{space 3}-.0188412
{txt}{space 9}adbmember {c |}{col 20}{res}{space 2}  .178717{col 32}{space 2}   1.6366{col 43}{space 1}    0.11{col 52}{space 3}0.913{col 60}{space 4}-3.028961{col 73}{space 3} 3.386395
{txt}usmilitaryalliance {c |}{col 20}{res}{space 2}-2.894564{col 32}{space 2} 1.895753{col 43}{space 1}   -1.53{col 52}{space 3}0.127{col 60}{space 4}-6.610172{col 73}{space 3} .8210435
{txt}{space 6}gdppercapita {c |}{col 20}{res}{space 2} 8.55e-06{col 32}{space 2} .0000278{col 43}{space 1}    0.31{col 52}{space 3}0.758{col 60}{space 4}-.0000459{col 73}{space 3}  .000063
{txt}{space 1}distancetobeijing {c |}{col 20}{res}{space 2}-.0013405{col 32}{space 2} .0005299{col 43}{space 1}   -2.53{col 52}{space 3}0.011{col 60}{space 4}-.0023791{col 73}{space 3}-.0003018
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 5.327476{col 32}{space 2} 3.315381{col 43}{space 1}    1.61{col 52}{space 3}0.108{col 60}{space 4}-1.170552{col 73}{space 3}  11.8255
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: 7 failures and 0 successes completely determined.{p_end}

{com}. 
. 
. 
. */ we now generate the output of model 2 to table 1 /*

. 
. 
. 
. outreg2 using table1.doc
{txt}{stata `"shellout using `"table1.doc"'"':table1.doc}
{browse `"E:\SanDiskSecureAccessV2.0\Stata"' :dir}{com} : {txt}{stata `"seeout using "table1.txt""':seeout}

{com}. 
. 
. 
. */ we now run model 3, considering both political alignment and the variables on exports to the US and China/*

. 
. 
. 
. logit aiibmou usalignment chinaalignment exportstous exportstochina polity2 adbmember usmilitaryalliance gdppercapita distancetobeijing

{res}{txt}Iteration 0:{space 3}log likelihood = {res:-50.559599}  
Iteration 1:{space 3}log likelihood = {res:-27.116145}  
Iteration 2:{space 3}log likelihood = {res:-16.958056}  
Iteration 3:{space 3}log likelihood = {res:-10.908832}  
Iteration 4:{space 3}log likelihood = {res:-9.1489861}  
Iteration 5:{space 3}log likelihood = {res:-8.5279227}  
Iteration 6:{space 3}log likelihood = {res:-8.4818415}  
Iteration 7:{space 3}log likelihood = {res:-8.4809381}  
Iteration 8:{space 3}log likelihood = {res:-8.4809357}  
Iteration 9:{space 3}log likelihood = {res:-8.4809357}  
{res}
{txt}Logistic regression{col 51}Number of obs{col 67}= {res}       131
{txt}{col 51}LR chi2({res}9{txt}){col 67}= {res}     84.16
{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-8.4809357{txt}{col 51}Pseudo R2{col 67}= {res}    0.8323

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           aiibmou{col 20}{c |}      Coef.{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}usalignment {c |}{col 20}{res}{space 2}-56.39277{col 32}{space 2} 48.96164{col 43}{space 1}   -1.15{col 52}{space 3}0.249{col 60}{space 4}-152.3558{col 73}{space 3} 39.57027
{txt}{space 4}chinaalignment {c |}{col 20}{res}{space 2} 10.56519{col 32}{space 2} 24.10061{col 43}{space 1}    0.44{col 52}{space 3}0.661{col 60}{space 4}-36.67114{col 73}{space 3} 57.80153
{txt}{space 7}exportstous {c |}{col 20}{res}{space 2} 36.58301{col 32}{space 2} 23.50766{col 43}{space 1}    1.56{col 52}{space 3}0.120{col 60}{space 4}-9.491147{col 73}{space 3} 82.65718
{txt}{space 4}exportstochina {c |}{col 20}{res}{space 2} 9.199906{col 32}{space 2} 16.93139{col 43}{space 1}    0.54{col 52}{space 3}0.587{col 60}{space 4}  -23.985{col 73}{space 3} 42.38481
{txt}{space 11}polity2 {c |}{col 20}{res}{space 2}-.5617267{col 32}{space 2}  .299429{col 43}{space 1}   -1.88{col 52}{space 3}0.061{col 60}{space 4}-1.148597{col 73}{space 3} .0251435
{txt}{space 9}adbmember {c |}{col 20}{res}{space 2} 3.936504{col 32}{space 2}  4.20544{col 43}{space 1}    0.94{col 52}{space 3}0.349{col 60}{space 4}-4.306006{col 73}{space 3} 12.17901
{txt}usmilitaryalliance {c |}{col 20}{res}{space 2}-2.851844{col 32}{space 2} 3.529842{col 43}{space 1}   -0.81{col 52}{space 3}0.419{col 60}{space 4}-9.770207{col 73}{space 3} 4.066518
{txt}{space 6}gdppercapita {c |}{col 20}{res}{space 2} .0001036{col 32}{space 2} .0001035{col 43}{space 1}    1.00{col 52}{space 3}0.317{col 60}{space 4}-.0000992{col 73}{space 3} .0003065
{txt}{space 1}distancetobeijing {c |}{col 20}{res}{space 2}-.0024733{col 32}{space 2}  .001422{col 43}{space 1}   -1.74{col 52}{space 3}0.082{col 60}{space 4}-.0052604{col 73}{space 3} .0003138
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 5.305875{col 32}{space 2} 24.64149{col 43}{space 1}    0.22{col 52}{space 3}0.830{col 60}{space 4}-42.99056{col 73}{space 3} 53.60231
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: 79 failures and 0 successes completely determined.{p_end}

{com}. 
. 
. 
. */ we now generate the output of model 3 to table 1 /*

. 
. 
. 
. outreg2 using table1.doc
{txt}{stata `"shellout using `"table1.doc"'"':table1.doc}
{browse `"E:\SanDiskSecureAccessV2.0\Stata"' :dir}{com} : {txt}{stata `"seeout using "table1.txt""':seeout}

{com}. 
. 
. 
. */ we reduce the sample to Asia Pacific countries only to verify whether the effects hold /*

. 
. 
. 
. */ this is necessary as, in fact, only countries in that region signed the AIIB memorandum of understanding (MoU) in 2014 /*

. 
. 
. 
. keep if asiapacific==1
{txt}(119 observations deleted)

{com}. 
. 
. 
. */ we now run model 4, considering only political alignment/*

. 
. 
. 
. logit aiibmou usalignment chinaalignment polity2 adbmember usmilitaryalliance gdppercapita distancetobeijing

{res}{txt}Iteration 0:{space 3}log likelihood = {res:-30.285525}  
Iteration 1:{space 3}log likelihood = {res:-18.261351}  
Iteration 2:{space 3}log likelihood = {res:-17.230712}  
Iteration 3:{space 3}log likelihood = {res:-17.031481}  
Iteration 4:{space 3}log likelihood = {res:-17.029445}  
Iteration 5:{space 3}log likelihood = {res:-17.029444}  
{res}
{txt}Logistic regression{col 51}Number of obs{col 67}= {res}        45
{txt}{col 51}LR chi2({res}7{txt}){col 67}= {res}     26.51
{txt}{col 51}Prob > chi2{col 67}= {res}    0.0004
{txt}Log likelihood = {res}-17.029444{txt}{col 51}Pseudo R2{col 67}= {res}    0.4377

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           aiibmou{col 20}{c |}      Coef.{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}usalignment {c |}{col 20}{res}{space 2} 8.421762{col 32}{space 2} 24.69906{col 43}{space 1}    0.34{col 52}{space 3}0.733{col 60}{space 4}-39.98751{col 73}{space 3} 56.83104
{txt}{space 4}chinaalignment {c |}{col 20}{res}{space 2} 21.27765{col 32}{space 2} 11.87866{col 43}{space 1}    1.79{col 52}{space 3}0.073{col 60}{space 4}-2.004096{col 73}{space 3}  44.5594
{txt}{space 11}polity2 {c |}{col 20}{res}{space 2}-.1220622{col 32}{space 2} .0962831{col 43}{space 1}   -1.27{col 52}{space 3}0.205{col 60}{space 4}-.3107735{col 73}{space 3} .0666491
{txt}{space 9}adbmember {c |}{col 20}{res}{space 2} 4.720447{col 32}{space 2} 2.193404{col 43}{space 1}    2.15{col 52}{space 3}0.031{col 60}{space 4} .4214548{col 73}{space 3}  9.01944
{txt}usmilitaryalliance {c |}{col 20}{res}{space 2}-.1965642{col 32}{space 2} 1.583564{col 43}{space 1}   -0.12{col 52}{space 3}0.901{col 60}{space 4}-3.300294{col 73}{space 3} 2.907165
{txt}{space 6}gdppercapita {c |}{col 20}{res}{space 2} .0000833{col 32}{space 2} .0000528{col 43}{space 1}    1.58{col 52}{space 3}0.115{col 60}{space 4}-.0000202{col 73}{space 3} .0001868
{txt}{space 1}distancetobeijing {c |}{col 20}{res}{space 2}-.0005441{col 32}{space 2} .0003187{col 43}{space 1}   -1.71{col 52}{space 3}0.088{col 60}{space 4}-.0011688{col 73}{space 3} .0000806
{txt}{space 13}_cons {c |}{col 20}{res}{space 2}-21.11404{col 32}{space 2} 12.67424{col 43}{space 1}   -1.67{col 52}{space 3}0.096{col 60}{space 4}-45.95509{col 73}{space 3} 3.727022
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. 
. 
. */ we now generate the output of model 4 to table 1 /*

. 
. 
. 
. outreg2 using table1.doc
{txt}{stata `"shellout using `"table1.doc"'"':table1.doc}
{browse `"E:\SanDiskSecureAccessV2.0\Stata"' :dir}{com} : {txt}{stata `"seeout using "table1.txt""':seeout}

{com}. 
. 
. 
. */ we now run model 5, ignoring political alignment and using only the variables on exports /*

. 
. 
. 
. logit aiibmou exportstous exportstochina polity2 adbmember usmilitaryalliance gdppercapita distancetobeijing

{res}{txt}Iteration 0:{space 3}log likelihood = {res:-24.897714}  
Iteration 1:{space 3}log likelihood = {res:-14.358394}  
Iteration 2:{space 3}log likelihood = {res:-13.932853}  
Iteration 3:{space 3}log likelihood = {res:-13.915503}  
Iteration 4:{space 3}log likelihood = {res: -13.91544}  
Iteration 5:{space 3}log likelihood = {res: -13.91544}  
{res}
{txt}Logistic regression{col 51}Number of obs{col 67}= {res}        36
{txt}{col 51}LR chi2({res}7{txt}){col 67}= {res}     21.96
{txt}{col 51}Prob > chi2{col 67}= {res}    0.0026
{txt}Log likelihood = {res} -13.91544{txt}{col 51}Pseudo R2{col 67}= {res}    0.4411

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           aiibmou{col 20}{c |}      Coef.{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}exportstous {c |}{col 20}{res}{space 2} 14.34848{col 32}{space 2} 10.31177{col 43}{space 1}    1.39{col 52}{space 3}0.164{col 60}{space 4}-5.862218{col 73}{space 3} 34.55917
{txt}{space 4}exportstochina {c |}{col 20}{res}{space 2} 2.154054{col 32}{space 2} 4.067721{col 43}{space 1}    0.53{col 52}{space 3}0.596{col 60}{space 4}-5.818533{col 73}{space 3} 10.12664
{txt}{space 11}polity2 {c |}{col 20}{res}{space 2} -.302225{col 32}{space 2} .1628122{col 43}{space 1}   -1.86{col 52}{space 3}0.063{col 60}{space 4}-.6213311{col 73}{space 3} .0168811
{txt}{space 9}adbmember {c |}{col 20}{res}{space 2} 2.205042{col 32}{space 2} 2.154064{col 43}{space 1}    1.02{col 52}{space 3}0.306{col 60}{space 4}-2.016846{col 73}{space 3} 6.426929
{txt}usmilitaryalliance {c |}{col 20}{res}{space 2}-2.075508{col 32}{space 2} 1.728634{col 43}{space 1}   -1.20{col 52}{space 3}0.230{col 60}{space 4}-5.463569{col 73}{space 3} 1.312553
{txt}{space 6}gdppercapita {c |}{col 20}{res}{space 2} 4.82e-06{col 32}{space 2} .0000312{col 43}{space 1}    0.15{col 52}{space 3}0.877{col 60}{space 4}-.0000562{col 73}{space 3} .0000659
{txt}{space 1}distancetobeijing {c |}{col 20}{res}{space 2}-.0008402{col 32}{space 2} .0004696{col 43}{space 1}   -1.79{col 52}{space 3}0.074{col 60}{space 4}-.0017606{col 73}{space 3} .0000803
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} 1.821475{col 32}{space 2} 3.317523{col 43}{space 1}    0.55{col 52}{space 3}0.583{col 60}{space 4}-4.680751{col 73}{space 3} 8.323701
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. 
. 
. */ we now generate the output of model 5 to table 1 /*

. 
. 
. 
. outreg2 using table1.doc
{txt}{stata `"shellout using `"table1.doc"'"':table1.doc}
{browse `"E:\SanDiskSecureAccessV2.0\Stata"' :dir}{com} : {txt}{stata `"seeout using "table1.txt""':seeout}

{com}. 
. 
. 
. */ we now run model 6, considering both political alignment and the variables on exports to the US and China/*

. 
. 
. 
. logit aiibmou usalignment chinaalignment exportstous exportstochina polity2 adbmember usmilitaryalliance gdppercapita distancetobeijing

{res}{txt}Iteration 0:{space 3}log likelihood = {res:-24.897714}  
Iteration 1:{space 3}log likelihood = {res:-11.264989}  
Iteration 2:{space 3}log likelihood = {res:-8.9353136}  
Iteration 3:{space 3}log likelihood = {res:-8.1615128}  
Iteration 4:{space 3}log likelihood = {res:-8.1218094}  
Iteration 5:{space 3}log likelihood = {res:-8.1215722}  
Iteration 6:{space 3}log likelihood = {res:-8.1215722}  
{res}
{txt}Logistic regression{col 51}Number of obs{col 67}= {res}        36
{txt}{col 51}LR chi2({res}9{txt}){col 67}= {res}     33.55
{txt}{col 51}Prob > chi2{col 67}= {res}    0.0001
{txt}Log likelihood = {res}-8.1215722{txt}{col 51}Pseudo R2{col 67}= {res}    0.6738

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           aiibmou{col 20}{c |}      Coef.{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}usalignment {c |}{col 20}{res}{space 2}-31.77093{col 32}{space 2} 54.90732{col 43}{space 1}   -0.58{col 52}{space 3}0.563{col 60}{space 4}-139.3873{col 73}{space 3} 75.84544
{txt}{space 4}chinaalignment {c |}{col 20}{res}{space 2} 23.32659{col 32}{space 2} 29.51618{col 43}{space 1}    0.79{col 52}{space 3}0.429{col 60}{space 4}-34.52405{col 73}{space 3} 81.17723
{txt}{space 7}exportstous {c |}{col 20}{res}{space 2} 52.26948{col 32}{space 2} 38.67204{col 43}{space 1}    1.35{col 52}{space 3}0.177{col 60}{space 4}-23.52631{col 73}{space 3} 128.0653
{txt}{space 4}exportstochina {c |}{col 20}{res}{space 2} 8.945689{col 32}{space 2} 15.59015{col 43}{space 1}    0.57{col 52}{space 3}0.566{col 60}{space 4}-21.61045{col 73}{space 3} 39.50182
{txt}{space 11}polity2 {c |}{col 20}{res}{space 2}-.6727189{col 32}{space 2} .3758865{col 43}{space 1}   -1.79{col 52}{space 3}0.074{col 60}{space 4}-1.409443{col 73}{space 3} .0640051
{txt}{space 9}adbmember {c |}{col 20}{res}{space 2} 5.258374{col 32}{space 2} 4.719455{col 43}{space 1}    1.11{col 52}{space 3}0.265{col 60}{space 4}-3.991588{col 73}{space 3} 14.50834
{txt}usmilitaryalliance {c |}{col 20}{res}{space 2}-3.926091{col 32}{space 2}  4.23323{col 43}{space 1}   -0.93{col 52}{space 3}0.354{col 60}{space 4}-12.22307{col 73}{space 3} 4.370886
{txt}{space 6}gdppercapita {c |}{col 20}{res}{space 2} .0001173{col 32}{space 2} .0001085{col 43}{space 1}    1.08{col 52}{space 3}0.280{col 60}{space 4}-.0000954{col 73}{space 3}   .00033
{txt}{space 1}distancetobeijing {c |}{col 20}{res}{space 2}-.0025092{col 32}{space 2} .0015342{col 43}{space 1}   -1.64{col 52}{space 3}0.102{col 60}{space 4}-.0055163{col 73}{space 3} .0004978
{txt}{space 13}_cons {c |}{col 20}{res}{space 2}-11.00977{col 32}{space 2} 31.50278{col 43}{space 1}   -0.35{col 52}{space 3}0.727{col 60}{space 4}-72.75408{col 73}{space 3} 50.73453
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: 4 failures and 0 successes completely determined.{p_end}

{com}. 
. 
. 
. */ we now generate the output of model 6 to table 1 /*

. 
. 
. 
. outreg2 using table1.doc
{txt}{stata `"shellout using `"table1.doc"'"':table1.doc}
{browse `"E:\SanDiskSecureAccessV2.0\Stata"' :dir}{com} : {txt}{stata `"seeout using "table1.txt""':seeout}

{com}. 
. 
. 
. */ let's close the dataset and reopen it to have all observations available. They are necessary for generating the results reported in table 2 /*

. 
. 
. 
. clear

. 
. 
. 
. use "E:\SanDiskSecureAccessV2.0\2017-08-27-ViniciusPenDrive\MainFiles\2017\02-AIIB\Data\AIIB-ForResubmission.dta", clear

. 
. 
. 
. */  Let's begin by model 1 of table 2. With such a purpose, we delete data on states that signed the MoU /*

. 
. 
. 
. */The goal is to assess what led states to be later joiners to the project/*

. 
. 
. 
. keep if aiibmou==0
{txt}(19 observations deleted)

{com}. 
. 
. 
. logit aiibmember usalignment chinaalignment polity2 adbmember usmilitaryalliance gdppercapita distancetobeijing asiapacific

{res}{txt}Iteration 0:{space 3}log likelihood = {res:-76.720222}  
Iteration 1:{space 3}log likelihood = {res:-46.616341}  
Iteration 2:{space 3}log likelihood = {res: -44.29634}  
Iteration 3:{space 3}log likelihood = {res:-44.232907}  
Iteration 4:{space 3}log likelihood = {res: -44.23285}  
Iteration 5:{space 3}log likelihood = {res: -44.23285}  
{res}
{txt}Logistic regression{col 51}Number of obs{col 67}= {res}       141
{txt}{col 51}LR chi2({res}8{txt}){col 67}= {res}     64.97
{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res} -44.23285{txt}{col 51}Pseudo R2{col 67}= {res}    0.4235

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        aiibmember{col 20}{c |}      Coef.{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}usalignment {c |}{col 20}{res}{space 2} 24.82454{col 32}{space 2} 12.70918{col 43}{space 1}    1.95{col 52}{space 3}0.051{col 60}{space 4}-.0850086{col 73}{space 3} 49.73408
{txt}{space 4}chinaalignment {c |}{col 20}{res}{space 2} 14.25993{col 32}{space 2} 8.457799{col 43}{space 1}    1.69{col 52}{space 3}0.092{col 60}{space 4} -2.31705{col 73}{space 3} 30.83691
{txt}{space 11}polity2 {c |}{col 20}{res}{space 2}-.0502897{col 32}{space 2} .0631191{col 43}{space 1}   -0.80{col 52}{space 3}0.426{col 60}{space 4} -.174001{col 73}{space 3} .0734215
{txt}{space 9}adbmember {c |}{col 20}{res}{space 2} 1.375406{col 32}{space 2} .7232719{col 43}{space 1}    1.90{col 52}{space 3}0.057{col 60}{space 4}-.0421806{col 73}{space 3} 2.792993
{txt}usmilitaryalliance {c |}{col 20}{res}{space 2} .3147145{col 32}{space 2} .7609576{col 43}{space 1}    0.41{col 52}{space 3}0.679{col 60}{space 4}-1.176735{col 73}{space 3} 1.806164
{txt}{space 6}gdppercapita {c |}{col 20}{res}{space 2} .0000468{col 32}{space 2} .0000208{col 43}{space 1}    2.25{col 52}{space 3}0.024{col 60}{space 4} 6.10e-06{col 73}{space 3} .0000875
{txt}{space 1}distancetobeijing {c |}{col 20}{res}{space 2}-.0001699{col 32}{space 2} .0001327{col 43}{space 1}   -1.28{col 52}{space 3}0.200{col 60}{space 4}-.0004299{col 73}{space 3} .0000902
{txt}{space 7}asiapacific {c |}{col 20}{res}{space 2} .6886232{col 32}{space 2} .8523667{col 43}{space 1}    0.81{col 52}{space 3}0.419{col 60}{space 4}-.9819849{col 73}{space 3} 2.359231
{txt}{space 13}_cons {c |}{col 20}{res}{space 2}-17.22845{col 32}{space 2} 8.875301{col 43}{space 1}   -1.94{col 52}{space 3}0.052{col 60}{space 4}-34.62372{col 73}{space 3} .1668153
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. 
. 
. */ we now generate the output of model 1 to table 2 /*

. 
. 
. 
. outreg2 using table2.doc
{txt}{stata `"shellout using `"table2.doc"'"':table2.doc}
{browse `"E:\SanDiskSecureAccessV2.0\Stata"' :dir}{com} : {txt}{stata `"seeout using "table2.txt""':seeout}

{com}. 
. 
. 
. */ we now run model 2, ignoring political alignment and using only the variables on exports /*

. 
. 
. 
. logit aiibmember exportstous exportstochina polity2 adbmember usmilitaryalliance gdppercapita distancetobeijing asiapacific

{res}{txt}Iteration 0:{space 3}log likelihood = {res:-65.702091}  
Iteration 1:{space 3}log likelihood = {res:-40.147473}  
Iteration 2:{space 3}log likelihood = {res:-38.387599}  
Iteration 3:{space 3}log likelihood = {res:-38.324459}  
Iteration 4:{space 3}log likelihood = {res:-38.324236}  
Iteration 5:{space 3}log likelihood = {res:-38.324236}  
{res}
{txt}Logistic regression{col 51}Number of obs{col 67}= {res}       114
{txt}{col 51}LR chi2({res}8{txt}){col 67}= {res}     54.76
{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-38.324236{txt}{col 51}Pseudo R2{col 67}= {res}    0.4167

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        aiibmember{col 20}{c |}      Coef.{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}exportstous {c |}{col 20}{res}{space 2}-5.046779{col 32}{space 2}   3.2615{col 43}{space 1}   -1.55{col 52}{space 3}0.122{col 60}{space 4} -11.4392{col 73}{space 3} 1.345644
{txt}{space 4}exportstochina {c |}{col 20}{res}{space 2}-.9699252{col 32}{space 2} 3.368345{col 43}{space 1}   -0.29{col 52}{space 3}0.773{col 60}{space 4} -7.57176{col 73}{space 3}  5.63191
{txt}{space 11}polity2 {c |}{col 20}{res}{space 2}-.0551462{col 32}{space 2} .0545535{col 43}{space 1}   -1.01{col 52}{space 3}0.312{col 60}{space 4} -.162069{col 73}{space 3} .0517766
{txt}{space 9}adbmember {c |}{col 20}{res}{space 2} 1.744778{col 32}{space 2} .7551674{col 43}{space 1}    2.31{col 52}{space 3}0.021{col 60}{space 4} .2646767{col 73}{space 3} 3.224878
{txt}usmilitaryalliance {c |}{col 20}{res}{space 2} .7438008{col 32}{space 2} .7866739{col 43}{space 1}    0.95{col 52}{space 3}0.344{col 60}{space 4}-.7980518{col 73}{space 3} 2.285653
{txt}{space 6}gdppercapita {c |}{col 20}{res}{space 2} .0000551{col 32}{space 2} .0000221{col 43}{space 1}    2.49{col 52}{space 3}0.013{col 60}{space 4} .0000117{col 73}{space 3} .0000985
{txt}{space 1}distancetobeijing {c |}{col 20}{res}{space 2}-.0000878{col 32}{space 2} .0001252{col 43}{space 1}   -0.70{col 52}{space 3}0.483{col 60}{space 4}-.0003332{col 73}{space 3} .0001576
{txt}{space 7}asiapacific {c |}{col 20}{res}{space 2} .8126426{col 32}{space 2} .8046394{col 43}{space 1}    1.01{col 52}{space 3}0.313{col 60}{space 4}-.7644216{col 73}{space 3} 2.389707
{txt}{space 13}_cons {c |}{col 20}{res}{space 2}-1.484563{col 32}{space 2} 1.267611{col 43}{space 1}   -1.17{col 52}{space 3}0.242{col 60}{space 4}-3.969036{col 73}{space 3}  .999909
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. 
. 
. */ we now generate the output of model 2 to table 2 /*

. 
. 
. 
. outreg2 using table2.doc
{txt}{stata `"shellout using `"table2.doc"'"':table2.doc}
{browse `"E:\SanDiskSecureAccessV2.0\Stata"' :dir}{com} : {txt}{stata `"seeout using "table2.txt""':seeout}

{com}. 
. 
. 
. */ we now run model 3, considering both political alignment and the variables on exports to the US and China/*

. 
. 
. 
. logit aiibmember usalignment chinaalignment exportstous exportstochina polity2 adbmember usmilitaryalliance gdppercapita distancetobeijing asiapacific

{res}{txt}Iteration 0:{space 3}log likelihood = {res:-65.702091}  
Iteration 1:{space 3}log likelihood = {res:-38.183439}  
Iteration 2:{space 3}log likelihood = {res:-35.934706}  
Iteration 3:{space 3}log likelihood = {res:-35.811264}  
Iteration 4:{space 3}log likelihood = {res:-35.809984}  
Iteration 5:{space 3}log likelihood = {res:-35.809984}  
{res}
{txt}Logistic regression{col 51}Number of obs{col 67}= {res}       114
{txt}{col 51}LR chi2({res}10{txt}){col 67}= {res}     59.78
{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-35.809984{txt}{col 51}Pseudo R2{col 67}= {res}    0.4550

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        aiibmember{col 20}{c |}      Coef.{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}usalignment {c |}{col 20}{res}{space 2} 22.51734{col 32}{space 2} 12.36583{col 43}{space 1}    1.82{col 52}{space 3}0.069{col 60}{space 4}-1.719255{col 73}{space 3} 46.75393
{txt}{space 4}chinaalignment {c |}{col 20}{res}{space 2} 12.78448{col 32}{space 2} 8.925884{col 43}{space 1}    1.43{col 52}{space 3}0.152{col 60}{space 4}-4.709932{col 73}{space 3} 30.27889
{txt}{space 7}exportstous {c |}{col 20}{res}{space 2}-6.922567{col 32}{space 2} 4.380105{col 43}{space 1}   -1.58{col 52}{space 3}0.114{col 60}{space 4}-15.50741{col 73}{space 3} 1.662281
{txt}{space 4}exportstochina {c |}{col 20}{res}{space 2}-.4676863{col 32}{space 2} 3.303045{col 43}{space 1}   -0.14{col 52}{space 3}0.887{col 60}{space 4}-6.941535{col 73}{space 3} 6.006162
{txt}{space 11}polity2 {c |}{col 20}{res}{space 2}   -.0615{col 32}{space 2}  .070822{col 43}{space 1}   -0.87{col 52}{space 3}0.385{col 60}{space 4}-.2003086{col 73}{space 3} .0773086
{txt}{space 9}adbmember {c |}{col 20}{res}{space 2} 2.057605{col 32}{space 2} .8202643{col 43}{space 1}    2.51{col 52}{space 3}0.012{col 60}{space 4} .4499164{col 73}{space 3} 3.665293
{txt}usmilitaryalliance {c |}{col 20}{res}{space 2} .5479955{col 32}{space 2} .7861985{col 43}{space 1}    0.70{col 52}{space 3}0.486{col 60}{space 4}-.9929253{col 73}{space 3} 2.088916
{txt}{space 6}gdppercapita {c |}{col 20}{res}{space 2} .0000419{col 32}{space 2} .0000231{col 43}{space 1}    1.81{col 52}{space 3}0.070{col 60}{space 4}-3.39e-06{col 73}{space 3} .0000871
{txt}{space 1}distancetobeijing {c |}{col 20}{res}{space 2}-.0000693{col 32}{space 2} .0001401{col 43}{space 1}   -0.49{col 52}{space 3}0.621{col 60}{space 4}-.0003439{col 73}{space 3} .0002053
{txt}{space 7}asiapacific {c |}{col 20}{res}{space 2}  .810921{col 32}{space 2} .9259114{col 43}{space 1}    0.88{col 52}{space 3}0.381{col 60}{space 4}-1.003832{col 73}{space 3} 2.625674
{txt}{space 13}_cons {c |}{col 20}{res}{space 2}-16.03893{col 32}{space 2} 9.179942{col 43}{space 1}   -1.75{col 52}{space 3}0.081{col 60}{space 4}-34.03129{col 73}{space 3} 1.953423
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. 
. 
. */ we now generate the output of model 3 to table 2 /*

. 
. 
. 
. outreg2 using table2.doc
{txt}{stata `"shellout using `"table2.doc"'"':table2.doc}
{browse `"E:\SanDiskSecureAccessV2.0\Stata"' :dir}{com} : {txt}{stata `"seeout using "table2.txt""':seeout}

{com}. 
. 
. 
. */ we now make a robustness check by considering only AIIB non-regional members. The goal is to assess whether ADB non-regional members--democratic, Western U.S.-allies--joined the AIIB with the same status /*

. 
. 
. 
. clear

. 
. 
. 
. use "E:\SanDiskSecureAccessV2.0\2017-08-27-ViniciusPenDrive\MainFiles\2017\02-AIIB\Data\AIIB-ForResubmission.dta", clear

. 
. 
. 
. keep if aiibmember==1
{txt}(117 observations deleted)

{com}. 
. 
. 
. */we then consider only the sample of AIIB members/*

. 
. 
. 
. */due to the small number of observations, we ignore variables that did not show much significance in previous models/*

. 
. 
. 
. logit aiibnonregionalmember usalignment chinaalignment  polity2 usmilitaryalliance gdppercapita distancetobeijing adbnonregionalmember

{res}{txt}Iteration 0:{space 3}log likelihood = {res:-33.111666}  
Iteration 1:{space 3}log likelihood = {res: -10.38884}  
Iteration 2:{space 3}log likelihood = {res:-9.5289142}  
Iteration 3:{space 3}log likelihood = {res:-9.3858946}  
Iteration 4:{space 3}log likelihood = {res:-9.3852725}  
Iteration 5:{space 3}log likelihood = {res:-9.3852723}  
{res}
{txt}Logistic regression{col 51}Number of obs{col 67}= {res}        51
{txt}{col 51}LR chi2({res}7{txt}){col 67}= {res}     47.45
{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-9.3852723{txt}{col 51}Pseudo R2{col 67}= {res}    0.7166

{txt}{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}aiibnonregionalmember{col 23}{c |}      Coef.{col 35}   Std. Err.{col 47}      z{col 55}   P>|z|{col 63}     [95% Con{col 76}f. Interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 10}usalignment {c |}{col 23}{res}{space 2} 13.41354{col 35}{space 2} 24.49469{col 46}{space 1}    0.55{col 55}{space 3}0.584{col 63}{space 4}-34.59516{col 76}{space 3} 61.42224
{txt}{space 7}chinaalignment {c |}{col 23}{res}{space 2} 12.62834{col 35}{space 2} 19.59956{col 46}{space 1}    0.64{col 55}{space 3}0.519{col 63}{space 4}-25.78609{col 76}{space 3} 51.04276
{txt}{space 14}polity2 {c |}{col 23}{res}{space 2} .1527307{col 35}{space 2} .1579688{col 46}{space 1}    0.97{col 55}{space 3}0.334{col 63}{space 4}-.1568825{col 76}{space 3} .4623439
{txt}{space 3}usmilitaryalliance {c |}{col 23}{res}{space 2} .2318565{col 35}{space 2} 1.425902{col 46}{space 1}    0.16{col 55}{space 3}0.871{col 63}{space 4} -2.56286{col 76}{space 3} 3.026573
{txt}{space 9}gdppercapita {c |}{col 23}{res}{space 2} 5.53e-06{col 35}{space 2} .0000377{col 46}{space 1}    0.15{col 55}{space 3}0.884{col 63}{space 4}-.0000685{col 76}{space 3} .0000795
{txt}{space 4}distancetobeijing {c |}{col 23}{res}{space 2} .0006116{col 35}{space 2} .0003438{col 46}{space 1}    1.78{col 55}{space 3}0.075{col 63}{space 4}-.0000623{col 76}{space 3} .0012855
{txt}{space 1}adbnonregionalmember {c |}{col 23}{res}{space 2} 4.005882{col 35}{space 2} 1.656662{col 46}{space 1}    2.42{col 55}{space 3}0.016{col 63}{space 4} .7588833{col 76}{space 3}  7.25288
{txt}{space 16}_cons {c |}{col 23}{res}{space 2}-19.51748{col 35}{space 2}  21.0292{col 46}{space 1}   -0.93{col 55}{space 3}0.353{col 63}{space 4}-60.73395{col 76}{space 3} 21.69899
{txt}{hline 22}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. 
. 
. */ we now generate the output of model 4 to table 2 /*

. 
. 
. 
. outreg2 using table2.doc
{txt}{stata `"shellout using `"table2.doc"'"':table2.doc}
{browse `"E:\SanDiskSecureAccessV2.0\Stata"' :dir}{com} : {txt}{stata `"seeout using "table2.txt""':seeout}

{com}. 
. 
. 
. */ we now close the dataset and open it again to assess hypothesis 2b, on AIIB membership considering both early and late joiners/*

. 
. 
. 
. clear

. 
. 
. 
. use "E:\SanDiskSecureAccessV2.0\2017-08-27-ViniciusPenDrive\MainFiles\2017\02-AIIB\Data\AIIB-ForResubmission.dta", clear

. 
. 
. 
. logit aiibmember usalignment chinaalignment exportstous exportstochina polity2 adbmember usmilitaryalliance gdppercapita distancetobeijing asiapacific

{res}{txt}Iteration 0:{space 3}log likelihood = {res:-85.505301}  
Iteration 1:{space 3}log likelihood = {res:-42.809119}  
Iteration 2:{space 3}log likelihood = {res:-40.916512}  
Iteration 3:{space 3}log likelihood = {res:-40.812857}  
Iteration 4:{space 3}log likelihood = {res:-40.812474}  
Iteration 5:{space 3}log likelihood = {res:-40.812474}  
{res}
{txt}Logistic regression{col 51}Number of obs{col 67}= {res}       131
{txt}{col 51}LR chi2({res}10{txt}){col 67}= {res}     89.39
{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-40.812474{txt}{col 51}Pseudo R2{col 67}= {res}    0.5227

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        aiibmember{col 20}{c |}      Coef.{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}usalignment {c |}{col 20}{res}{space 2} 22.65842{col 32}{space 2} 11.24874{col 43}{space 1}    2.01{col 52}{space 3}0.044{col 60}{space 4} .6112861{col 73}{space 3} 44.70555
{txt}{space 4}chinaalignment {c |}{col 20}{res}{space 2} 14.68852{col 32}{space 2} 7.702855{col 43}{space 1}    1.91{col 52}{space 3}0.057{col 60}{space 4}-.4087944{col 73}{space 3} 29.78584
{txt}{space 7}exportstous {c |}{col 20}{res}{space 2}-4.390136{col 32}{space 2} 3.040817{col 43}{space 1}   -1.44{col 52}{space 3}0.149{col 60}{space 4}-10.35003{col 73}{space 3} 1.569756
{txt}{space 4}exportstochina {c |}{col 20}{res}{space 2} -.380003{col 32}{space 2} 2.701444{col 43}{space 1}   -0.14{col 52}{space 3}0.888{col 60}{space 4}-5.674736{col 73}{space 3}  4.91473
{txt}{space 11}polity2 {c |}{col 20}{res}{space 2}-.0716658{col 32}{space 2} .0599202{col 43}{space 1}   -1.20{col 52}{space 3}0.232{col 60}{space 4}-.1891072{col 73}{space 3} .0457756
{txt}{space 9}adbmember {c |}{col 20}{res}{space 2} 2.391731{col 32}{space 2} .8133674{col 43}{space 1}    2.94{col 52}{space 3}0.003{col 60}{space 4} .7975606{col 73}{space 3} 3.985902
{txt}usmilitaryalliance {c |}{col 20}{res}{space 2} .7476214{col 32}{space 2} .8011606{col 43}{space 1}    0.93{col 52}{space 3}0.351{col 60}{space 4}-.8226245{col 73}{space 3} 2.317867
{txt}{space 6}gdppercapita {c |}{col 20}{res}{space 2} .0000346{col 32}{space 2} .0000203{col 43}{space 1}    1.71{col 52}{space 3}0.088{col 60}{space 4}-5.12e-06{col 73}{space 3} .0000743
{txt}{space 1}distancetobeijing {c |}{col 20}{res}{space 2}-.0002109{col 32}{space 2} .0001404{col 43}{space 1}   -1.50{col 52}{space 3}0.133{col 60}{space 4}-.0004861{col 73}{space 3} .0000643
{txt}{space 7}asiapacific {c |}{col 20}{res}{space 2} .8906175{col 32}{space 2} .8854779{col 43}{space 1}    1.01{col 52}{space 3}0.315{col 60}{space 4}-.8448873{col 73}{space 3} 2.626122
{txt}{space 13}_cons {c |}{col 20}{res}{space 2}-16.20935{col 32}{space 2} 8.132093{col 43}{space 1}   -1.99{col 52}{space 3}0.046{col 60}{space 4}-32.14796{col 73}{space 3}-.2707373
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. 
. 
. */ we now generate the output of model 5, reported above, to table 2 /*

. 
. 
. 
. outreg2 using table2.doc
{txt}{stata `"shellout using `"table2.doc"'"':table2.doc}
{browse `"E:\SanDiskSecureAccessV2.0\Stata"' :dir}{com} : {txt}{stata `"seeout using "table2.txt""':seeout}

{com}. 
. 
. 
. */ finally we run model 6, which considers political alignment only /*

. 
. 
. 
. logit aiibmember usalignment chinaalignment polity2 adbmember usmilitaryalliance gdppercapita distancetobeijing asiapacific

{res}{txt}Iteration 0:{space 3}log likelihood = {res:-99.762488}  
Iteration 1:{space 3}log likelihood = {res:-53.244957}  
Iteration 2:{space 3}log likelihood = {res:-50.256731}  
Iteration 3:{space 3}log likelihood = {res:-50.121351}  
Iteration 4:{space 3}log likelihood = {res:-50.121038}  
Iteration 5:{space 3}log likelihood = {res:-50.121038}  
{res}
{txt}Logistic regression{col 51}Number of obs{col 67}= {res}       159
{txt}{col 51}LR chi2({res}8{txt}){col 67}= {res}     99.28
{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-50.121038{txt}{col 51}Pseudo R2{col 67}= {res}    0.4976

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        aiibmember{col 20}{c |}      Coef.{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}usalignment {c |}{col 20}{res}{space 2}  25.0233{col 32}{space 2} 11.03165{col 43}{space 1}    2.27{col 52}{space 3}0.023{col 60}{space 4}  3.40167{col 73}{space 3} 46.64492
{txt}{space 4}chinaalignment {c |}{col 20}{res}{space 2} 16.20856{col 32}{space 2} 6.971914{col 43}{space 1}    2.32{col 52}{space 3}0.020{col 60}{space 4} 2.543861{col 73}{space 3} 29.87326
{txt}{space 11}polity2 {c |}{col 20}{res}{space 2}-.0486488{col 32}{space 2} .0527054{col 43}{space 1}   -0.92{col 52}{space 3}0.356{col 60}{space 4}-.1519494{col 73}{space 3} .0546518
{txt}{space 9}adbmember {c |}{col 20}{res}{space 2} 1.798067{col 32}{space 2} .6905651{col 43}{space 1}    2.60{col 52}{space 3}0.009{col 60}{space 4} .4445844{col 73}{space 3}  3.15155
{txt}usmilitaryalliance {c |}{col 20}{res}{space 2} .5464481{col 32}{space 2} .7595894{col 43}{space 1}    0.72{col 52}{space 3}0.472{col 60}{space 4}-.9423198{col 73}{space 3} 2.035216
{txt}{space 6}gdppercapita {c |}{col 20}{res}{space 2} .0000445{col 32}{space 2} .0000191{col 43}{space 1}    2.32{col 52}{space 3}0.020{col 60}{space 4} 6.95e-06{col 73}{space 3}  .000082
{txt}{space 1}distancetobeijing {c |}{col 20}{res}{space 2} -.000276{col 32}{space 2} .0001238{col 43}{space 1}   -2.23{col 52}{space 3}0.026{col 60}{space 4}-.0005187{col 73}{space 3}-.0000334
{txt}{space 7}asiapacific {c |}{col 20}{res}{space 2} .7569662{col 32}{space 2} .8098226{col 43}{space 1}    0.93{col 52}{space 3}0.350{col 60}{space 4}-.8302569{col 73}{space 3} 2.344189
{txt}{space 13}_cons {c |}{col 20}{res}{space 2}-17.83704{col 32}{space 2} 7.473082{col 43}{space 1}   -2.39{col 52}{space 3}0.017{col 60}{space 4}-32.48401{col 73}{space 3}-3.190063
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. 
. 
. */ we now generate the output of model 6, reported above, to table 2 /*

. 
. 
. 
. outreg2 using table2.doc
{txt}{stata `"shellout using `"table2.doc"'"':table2.doc}
{browse `"E:\SanDiskSecureAccessV2.0\Stata"' :dir}{com} : {txt}{stata `"seeout using "table2.txt""':seeout}

{com}. 
. 
. 
. */ all models have been run. Let's close the dataset /*

. 
. 
. 
. clear

. 
. 
. 
. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}E:\SanDiskSecureAccessV2.0\2017-08-27-ViniciusPenDrive\MainFiles\2017\02-AIIB\Data\AIIB-Resubmission-Log.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}30 Nov 2017, 19:30:09
{txt}{.-}
{smcl}
{txt}{sf}{ul off}{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}G:\SanDiskSecureAccessV2.0\2017-08-27-ViniciusPenDrive\MainFiles\2017\02-AIIB\Data\AIIB-Resubmission-Log.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res} 1 Dec 2017, 07:11:49

{com}. */Generating figure 1/*

. logit aiibmember usalignment  chinaalignment exportstous exportstochina polity2 adbmember usmilitaryalliance gdppercapita distancetobeijing asiapacific

{res}{txt}Iteration 0:{space 3}log likelihood = {res:-85.505301}  
Iteration 1:{space 3}log likelihood = {res:-42.809117}  
Iteration 2:{space 3}log likelihood = {res: -40.91651}  
Iteration 3:{space 3}log likelihood = {res:-40.812855}  
Iteration 4:{space 3}log likelihood = {res:-40.812472}  
Iteration 5:{space 3}log likelihood = {res:-40.812472}  
{res}
{txt}Logistic regression{col 51}Number of obs{col 67}= {res}       131
{txt}{col 51}LR chi2({res}10{txt}){col 67}= {res}     89.39
{txt}{col 51}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-40.812472{txt}{col 51}Pseudo R2{col 67}= {res}    0.5227

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       aiibmember{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}usalignment {c |}{col 19}{res}{space 2} .2265843{col 31}{space 2} .1124874{col 42}{space 1}    2.01{col 51}{space 3}0.044{col 59}{space 4}  .006113{col 72}{space 3} .4470556
{txt}{space 3}chinaalignment {c |}{col 19}{res}{space 2} .0014689{col 31}{space 2} .0007703{col 42}{space 1}    1.91{col 51}{space 3}0.057{col 59}{space 4}-.0000409{col 72}{space 3} .0029786
{txt}{space 6}exportstous {c |}{col 19}{res}{space 2}-.0439014{col 31}{space 2} .0304082{col 42}{space 1}   -1.44{col 51}{space 3}0.149{col 59}{space 4}-.1035003{col 72}{space 3} .0156976
{txt}{space 3}exportstochina {c |}{col 19}{res}{space 2}   -.0038{col 31}{space 2} .0270144{col 42}{space 1}   -0.14{col 51}{space 3}0.888{col 59}{space 4}-.0567474{col 72}{space 3} .0491473
{txt}{space 10}polity2 {c |}{col 19}{res}{space 2}-.0716658{col 31}{space 2} .0599202{col 42}{space 1}   -1.20{col 51}{space 3}0.232{col 59}{space 4}-.1891072{col 72}{space 3} .0457756
{txt}{space 8}adbmember {c |}{col 19}{res}{space 2} 2.391731{col 31}{space 2} .8133674{col 42}{space 1}    2.94{col 51}{space 3}0.003{col 59}{space 4} .7975606{col 72}{space 3} 3.985902
{txt}usmilitaryallia~e {c |}{col 19}{res}{space 2} .7476215{col 31}{space 2} .8011606{col 42}{space 1}    0.93{col 51}{space 3}0.351{col 59}{space 4}-.8226245{col 72}{space 3} 2.317867
{txt}{space 5}gdppercapita {c |}{col 19}{res}{space 2} .0000346{col 31}{space 2} .0000203{col 42}{space 1}    1.71{col 51}{space 3}0.088{col 59}{space 4}-5.12e-06{col 72}{space 3} .0000743
{txt}distancetobeijing {c |}{col 19}{res}{space 2}-.0002109{col 31}{space 2} .0001404{col 42}{space 1}   -1.50{col 51}{space 3}0.133{col 59}{space 4}-.0004861{col 72}{space 3} .0000643
{txt}{space 6}asiapacific {c |}{col 19}{res}{space 2} .8906173{col 31}{space 2} .8854779{col 42}{space 1}    1.01{col 51}{space 3}0.315{col 59}{space 4}-.8448876{col 72}{space 3} 2.626122
{txt}{space 12}_cons {c |}{col 19}{res}{space 2}-16.20935{col 31}{space 2} 8.132093{col 42}{space 1}   -1.99{col 51}{space 3}0.046{col 59}{space 4}-32.14796{col 72}{space 3} -.270745
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. margins, dydx( usalignment chinaalignment exportstous exportstochina polity2 adbmember usmilitaryalliance gdppercapita distancetobeijing asiapacific )
{res}
{txt}Average marginal effects{col 51}Number of obs{col 67}= {res}       131
{txt}Model VCE{col 14}: {res}OIM

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Pr(aiibmember), predict()}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:dy/dx w.r.t.}:{space 1}{res:usalignment chinaalignment exportstous exportstochina polity2 adbmember usmilitaryalliance gdppercapita distancetobeijing asiapacific}{p_end}
{p2colreset}{...}

{res}{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31} Delta-method
{col 19}{c |}      dy/dx{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}usalignment {c |}{col 19}{res}{space 2} .0209121{col 31}{space 2} .0098848{col 42}{space 1}    2.12{col 51}{space 3}0.034{col 59}{space 4} .0015383{col 72}{space 3} .0402858
{txt}{space 3}chinaalignment {c |}{col 19}{res}{space 2} .0001356{col 31}{space 2}  .000068{col 42}{space 1}    1.99{col 51}{space 3}0.046{col 59}{space 4} 2.34e-06{col 72}{space 3} .0002688
{txt}{space 6}exportstous {c |}{col 19}{res}{space 2}-.0040518{col 31}{space 2} .0027478{col 42}{space 1}   -1.47{col 51}{space 3}0.140{col 59}{space 4}-.0094374{col 72}{space 3} .0013339
{txt}{space 3}exportstochina {c |}{col 19}{res}{space 2}-.0003507{col 31}{space 2} .0024927{col 42}{space 1}   -0.14{col 51}{space 3}0.888{col 59}{space 4}-.0052363{col 72}{space 3} .0045349
{txt}{space 10}polity2 {c |}{col 19}{res}{space 2}-.0066142{col 31}{space 2} .0054494{col 42}{space 1}   -1.21{col 51}{space 3}0.225{col 59}{space 4}-.0172948{col 72}{space 3} .0040664
{txt}{space 8}adbmember {c |}{col 19}{res}{space 2} .2207392{col 31}{space 2}  .065632{col 42}{space 1}    3.36{col 51}{space 3}0.001{col 59}{space 4} .0921028{col 72}{space 3} .3493755
{txt}usmilitaryallia~e {c |}{col 19}{res}{space 2} .0689999{col 31}{space 2} .0734732{col 42}{space 1}    0.94{col 51}{space 3}0.348{col 59}{space 4}-.0750049{col 72}{space 3} .2130048
{txt}{space 5}gdppercapita {c |}{col 19}{res}{space 2} 3.19e-06{col 31}{space 2} 1.81e-06{col 42}{space 1}    1.76{col 51}{space 3}0.078{col 59}{space 4}-3.62e-07{col 72}{space 3} 6.75e-06
{txt}distancetobeijing {c |}{col 19}{res}{space 2}-.0000195{col 31}{space 2} .0000128{col 42}{space 1}   -1.52{col 51}{space 3}0.129{col 59}{space 4}-.0000446{col 72}{space 3} 5.70e-06
{txt}{space 6}asiapacific {c |}{col 19}{res}{space 2} .0821974{col 31}{space 2} .0805003{col 42}{space 1}    1.02{col 51}{space 3}0.307{col 59}{space 4}-.0755802{col 72}{space 3} .2399751
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{com}. marginsplot, horizontal xline(0) yscale(reverse) recast(scatter)

{text}{p 2 6 2}Variables that uniquely identify margins: _deriv{p_end}
{res}
{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}G:\SanDiskSecureAccessV2.0\2017-08-27-ViniciusPenDrive\MainFiles\2017\02-AIIB\Data\AIIB-Resubmission-Log.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res} 1 Dec 2017, 07:14:32
{txt}{.-}
{smcl}
{txt}{sf}{ul off}